
webserver: webserver.o networkinglib.o safecalls.o 
	gcc  -o webserver -g webserver.o networkinglib.o safecalls.o -lpthread

webserver.o: webserver.c networkinglib.h safecalls.h 
	gcc -g -c webserver.c

networkinglib.o: networkinglib.c networkinglib.h safecalls.h
	gcc -g -c networkinglib.c

safecalls.o: safecalls.c safecalls.h
	gcc -g -c safecalls.c

clean:
	rm *.o

veryclean:
	rm *.o webserver
